#include <windows.h>
#include "CLockOnPacket.h"

CLockOnPacket::CLockOnPacket(CBaseEntity * schar, CBaseEntity * lockTarget) {

	this->type			= 0x58;
	this->size			= 0x08;

	memcpy(this->data,	&schar->m_id,4);
	memcpy(this->data+4,&lockTarget->m_id,4);
	unsigned short targId = schar->getTargId();
	memcpy(this->data+8,&targId,2);
	unsigned short lockTargId = lockTarget->getTargId();
	memcpy(this->data+10,&lockTargId,2);

}

CLockOnPacket::~CLockOnPacket() {

}